package com.dragon.modules.yuegou.excel.wallet;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\wallet\\exportCardRecord.xlsx")
public class CardRecordGenerateWorkbook {
	@ExcelSheet
	@JsonProperty("卡号列表")
	private List<CardRecord> records;

	public static class CardRecord {

		@JsonProperty("悦卡卡号")
		private String cardNo;

		@JsonProperty("悦卡名称")
		private String cardTitle;

		@JsonProperty("悦卡面值")
		private BigDecimal amount;

		@JsonProperty("悦卡密码")
		private String cardPwd;

		@JsonProperty("悦卡形式")
		private String cardFormName;


		public String getCardNo() {
			return cardNo;
		}

		public void setCardNo(String cardNo) {
			this.cardNo = cardNo;
		}

		public String getCardPwd() {
			return cardPwd;
		}

		public void setCardPwd(String cardPwd) {
			this.cardPwd = cardPwd;
		}

		public String getCardTitle() {
			return cardTitle;
		}

		public void setCardTitle(String cardTitle) {
			this.cardTitle = cardTitle;
		}

		public BigDecimal getAmount() {
			return amount;
		}

		public void setAmount(BigDecimal amount) {
			this.amount = amount;
		}

		public String getCardFormName() {
			return cardFormName;
		}

		public void setCardFormName(String cardFormName) {
			this.cardFormName = cardFormName;
		}
	}

	public List<CardRecord> getRecords() {
		return records;
	}

	public void setRecords(List<CardRecord> records) {
		this.records = records;
	}
}
